-- GENERATED SPELL FOR [Blackrock Grunt] --


function spell0_440(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(3019,pUnit)
pUnit:RegisterEvent('Sorts_440', 15000, 1)
end

function Sorts_440(pUnit, Event)
local choix_sorts_440 = math.random(0, 0)
if choix_sorts_440 == 0 then
pUnit:RegisterEvent('spell0_440', 1, 1)
end
end

function mob440_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_440', math.random(1500, 3000), 1)
end

function mob440_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob440_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob440_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(440, 1, 'mob440_Action')
RegisterUnitEvent(440, 2, 'mob440_Leave')
RegisterUnitEvent(440, 3, 'mob440_Kill')
RegisterUnitEvent(440, 4, 'mob440_Die')
